lib/repo-commit: Fix min-free-space error message
authorMatthew Leeds <matthew.leeds@endlessm.com>
Tue, 24 Jul 2018 21:52:24 +0000 (14:52 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 25 Jul 2018 13:16:18 +0000 (13:16 +0000)
commitbe07c04e638c26df06bfa0c0ee9769faf847bfc4
tree6b31326ef8a00fa9ba81005cd8801c63deafc765
parent93da56842259f18bde23daf17dcefcf213b30b81
lib/repo-commit: Fix min-free-space error message

Since min_free_space_size_mb is considered before min_free_space_percent
in min_free_space_calculate_reserved_blocks(), it has to be considered
first when generating the error message in order for it to be accurate.

Closes: #1691
Approved by: jlebon
src/libostree/ostree-repo-commit.c